package com.panshi.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.modules.domain.UserNotice;
import com.panshi.modules.domain.UserNoticeRead;
import com.panshi.vo.ItemQueryUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserNoticeMapper extends BaseMapper<UserNotice>  {
    //查看站内消息列表
    List<UserNotice> findUserNoticeList(@Param("myPage") ItemQueryUserVo itemQueryVo);
    //查询站内消息未读列表
    List<UserNoticeRead> getNoReadCount(int id);
}
